package com.ls.pattern.command;

/**
 * 命令模式模拟ftp客户端
 *
 * @author 挥之以墨
 */
public class FtpServer {

    public void connect() {
        System.out.println("建立ftp连接");
    }

    public void upload() {
        System.out.println("上传文件");
    }

    public void download() {
        System.out.println("下载文件");
    }

    public void disConnect() {
        System.out.println("断开ftp连接");
    }
}
